﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site_Admin.Master" Inherits="System.Web.Mvc.ViewPage<Proyecto_e.Models.usuario>" %>

<script runat="server">
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> Inicio >> Administrar Encuesta >> Crear Usuarios

    <center><h2>Crea tu cuenta de usuario</h2></center>

<script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script>
<script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>" type="text/javascript"></script> 

<% using (Html.BeginForm("Create", "Usuarios", FormMethod.Post)) ; %>

    <form name="form1" id="form1" runat="server">
<div>
    <label for="nombres"> * Nombres:</label>&nbsp;&nbsp;&nbsp;&nbsp;
    <input id="nombres" name="nombres" type="text" value=""/><br />
    <br />
    <label for="apellidos"> * Apellidos:</label>&nbsp;&nbsp;&nbsp;&nbsp;
    <input  id="apellidos"name="apellidos" type="text" value=""/><br />
    <br />
    <label for="usuario"> * Usuario:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </label>
    <input  id="usuario" name="usuario" type="text" value=""/><br />
    <br />
    <label for="password"> * Contrase&ntilde;a:</label>
    <input id="password" name="password" type="password" value=""/><br />
    <br />
    <label for="email"> * E-mail:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input id="email" name="email" type="text" value=""/><br />
    <br />
    <label for="edad">   Edad:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input id="edad" name="edad" type="text" value=""/><br />
    <br />
    <label for="edad">   Sexo:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <select id="sexo" name="sexo">
    <option></option>
    <option>M</option>
    <option>F</option>
    </select><br />
    <br />
    <label for="edad">   Telefono:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input id="telefono" name="telefono" type="text" value=""/><br />
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="submit" value="Cancelar"/>&nbsp;<input type="submit" 
        value="Crear" onclick="return validar()"/>
</div>
    </form>
</asp:Content>

